﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Admin.Core.Service.Quality.Input
{
    public class MachineCheckAddInput
    {
        /// <summary>
        /// 校验类型  0 内部校验  1 外部校验
        /// </summary>
        public int CalType { get; set; }

        /// <summary>
        /// 计量编号
        /// </summary>
        public string ControlNo { get; set; }

        /// <summary>
        /// 设备名称
        /// </summary>
        public string EquipmentName { get; set; }

        /// <summary>
        /// 设备号
        /// </summary>
        public string EquipmentNo { get; set; }

        /// <summary>
        /// 序列号
        /// </summary>
        public string SerialNo { get; set; }

        /// <summary>
        /// 型号
        /// </summary>
        public string Model { get; set; }

        /// <summary>
        /// 精度
        /// </summary>
        public string Accuracy { get; set; }

        /// <summary>
        /// 参考文档
        /// </summary>
        public string ReferenceDoc { get; set; }

        /// <summary>
        /// 使用部门
        /// </summary>
        public long DepermentId { get; set; }


        /// <summary>
        /// 责任人
        /// </summary>
        public long OwnerId { get; set; }


        /// <summary>
        /// 计量周期
        /// </summary>
        public int CalNum { get; set; }

        /// <summary>
        /// 计量周期单位  1年  2月
        /// </summary>
        public int CalInterval { get; set; }

        /// <summary>
        /// 计划校准时间
        /// </summary>
        public DateTime PlanCalTime { get; set; }


        /// <summary>
        /// 校准设备 内部校准
        /// </summary>
        public string CalibrationEquipment { get; set; }

        /// <summary>
        /// 未知字段 内部校准
        /// </summary>
        public string ControlItem { get; set; }


        /// <summary>
        /// 计划送检供应商
        /// </summary>
        public long? PlanSupplierId { get; set; }


        /// <summary>
        /// 校准要求/范围
        /// </summary>
        public string CalibrationReq { get; set; }


        /// <summary>
        /// 启用
        /// </summary>
        public bool Enabled { get; set; } = true;

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

    }
}
